package com.ruoyi.nongjt.mapper;

import com.ruoyi.nongjt.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    User findByEmail(@Param("email") String email);
    int insertUser(User user);

    void updateUser(User user);

}
